{
    PUConst.UiPropType: PUConst.UiTypeLayoutVertical,
    PUConst.UiPropSubUI: [
    {
        # Operation Panel
        PUConst.UiPropType: PUConst.UiTypeLayoutHorizontal,
        PUConst.UiPropSubUI: [
        {
            PUConst.UiPropType: PUConst.UiTypeText,
            PUConst.UiPropText: "Event: "
        },
        {
            PUConst.UiPropID: "uidFinanceEventName",
            PUConst.UiPropType: PUConst.UiTypeInput
        },
        {
            PUConst.UiPropType: PUConst.UiTypeButton,
            PUConst.UiPropText: "Get",
            PUConst.UiPropApiTrigger: [
            {
                PUConst.UiApi: "aidFinanceEvent",
                PUConst.UiApiTriggerAction: PUConst.UiApiActionClick,
                PUConst.UiApiParams: [
                {
                    PUConst.UiApiDataType: PUConst.UiApiTypeUID,
                    PUConst.UiApiDataValue: "uidFinanceEventName"
                },
                {
                    PUConst.UiApiDataType: PUConst.UiApiTypeFunc,
                    PUConst.UiApiDataValue: "GetSession()"
                }],
                PUConst.UiApiResults: {
                    PUConst.UiApiResultSuccessful: [
                        f"FillTableWithAPIResult('uidFinanceEventList', {PUConst.UiApiParamHolder})"
                    ],
                    PUConst.UiApiResultFailed: [
                        "ShowMessage('Get finance event failed!')"
                    ]
                }
            }]
        },
        {
            PUConst.UiPropType: PUConst.UiTypeButton,
            PUConst.UiPropText: "Add"
        }]
    },
    {
        # Display Area
        PUConst.UiPropType: PUConst.UiTypeTable,
        PUConst.UiPropID: "uidFinanceEventList",
        PUConst.UiPropColumn: 4,
        PUConst.UiPropHasHeader: True,
        PUConst.UiPropSubUI: [
        {
            PUConst.UiPropType: PUConst.UiTypeText,
            PUConst.UiPropText: "Name"
        },
        {
            PUConst.UiPropType: PUConst.UiTypeText,
            PUConst.UiPropText: "Budget"
        },
        {
            PUConst.UiPropType: PUConst.UiTypeText,
            PUConst.UiPropText: "Balance"
        },
        {
            PUConst.UiPropType: PUConst.UiTypeText,
            PUConst.UiPropText: "Note"
        }]
    }]
}
